<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <select name="abc" v-model="company">
        <option value="huawei">华为</option>
        <option value="xiaomi">小米</option>
        <option value="apple">苹果</option>
        <option value="samsung">三星</option>
    </select>
    <h2>选择的厂商是：{{company}}</h2>
    <hr>
    
    <select name="abc" v-model="companys" multiple>
        <option value="huawei">华为</option>
        <option value="xiaomi">小米</option>
        <option value="apple">苹果</option>
        <option value="samsung">三星</option>
    </select>
    <h2>选择的厂商是：{{companys}}</h2>
</div>


<script src="../../js/vue.js"></script>

<script>
    const vue = new Vue({
        el: "#app",
        data: {
            message: "Hello vue,你好！",
            company: '',
            companys: []
        },
        methods: {
            
        }
    });
</script>
</body>
</html>